home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / programr / opttree.zip / OWL.ZIP / OTTSTAPP.H < prev    next >
C/C++ Source or Header  |  1995-01-03  |  2KB  |  64 lines

  1. #if !defined(__ottstapp_h)              // Sentry, use file only if it's not already included.
  2. #define __ottstapp_h
  3.  
  4. /*  Project ottest
  5.     Freeman-Teresa Software
  6.     Copyright ⌐ 1994. All Rights Reserved.
  7.  
  8.     SUBSYSTEM:    ottest.exe Application
  9.     FILE:         ottstapp.h
  10.     AUTHOR:       Kent Tong
  11.  
  12.  
  13.     OVERVIEW
  14.     ========
  15.     Class definition for ottestApp (TApplication).      
  16. */
  17.  
  18.  
  19. #include <owl\owlpch.h>
  20. #pragma hdrstop
  21.  
  22. #include <owl\statusba.h>
  23. #include <owl\opensave.h>
  24.  
  25. #include "ottstapp.rh"            // Definition of all resources.
  26.  
  27.  
  28. //{{TApplication = ottestApp}}
  29. class ottestApp : public TApplication {
  30. private:
  31.     TWindow *Client;                                 // Client window for the frame.
  32.     TOpenSaveDialog::TData FileData;                    // Data to control open/saveas standard dialog.
  33.  
  34. public:
  35.     ottestApp ();
  36.     virtual ~ottestApp ();
  37.  
  38.     void OpenFile (const char *fileName = 0);
  39. //{{ottestAppVIRTUAL_BEGIN}}
  40. public:
  41.     virtual void InitMainWindow();
  42. //{{ottestAppVIRTUAL_END}}
  43.  
  44. //{{ottestAppRSP_TBL_BEGIN}}
  45. protected:
  46.     void CmFileNew ();
  47.     void CmFileOpen ();
  48.     void CmFileClose ();
  49.     void CmHelpAbout ();
  50.     void CmTest1 ();
  51.     void CmTest2 ();
  52.     void CmTest3 ();
  53.     void CmTest7 ();
  54.     void CmTest8 ();
  55.     void CmTest6 ();
  56.     void CmTest4 ();
  57.     void CmTest5 ();
  58. //{{ottestAppRSP_TBL_END}}
  59.   DECLARE_RESPONSE_TABLE(ottestApp);
  60. };    //{{ottestApp}}
  61.  
  62.  
  63. #endif                                      // __ottstapp_h sentry.
  64.